/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package session.TX;

import entity.tx.Advertisement;
import java.util.Date;
import java.util.List;
import javax.ejb.Remote;

/**
 *
 * @author AdminNUS
 */
@Remote
public interface AdvertisementSBRemote {
    
     public boolean addAdvertisement(String title,String tags,
            String filePath,
            String description,
            String link,
            boolean isSubscription,
            boolean isImpression,
            boolean isClick,
            Double biddingPrice,
            boolean isActivated,
            Double maxClicks,
            Double maxImpression, String stakeholderID, Date startDate, Date endDate);
     
      public List<Advertisement> retrieveAds(String name);
      public List<Advertisement> retrieveAds2(String name);
      public void deActivate(long id);
//     public void recordAdvertisementClick(Long accountId, Long advertId, String source, String destination, Date now);
//
//    public Collection<Advertisement> getRandomThreeAdvertisement();
}
